package com.gdkj.ip;

import com.gdkj.common.LogicResult;

public interface IIp {

    /**
     * 检查ip和设备黑名单
     *
     * @param ip
     * @param deviceOne
     * @param deviceTwo
     * @return LogicResult
     */
    LogicResult authIpAndDevice(String ip, String deviceOne, String deviceTwo);

    /**
     * 检查用户白名单
     * @param uid
     * @return boolean
     */
    boolean checkUserWhite(Long uid);
}
